﻿using Abp.AutoMapper;
using Mt.Site.Core.WorkFlows.Design.Entities;
using System.ComponentModel.DataAnnotations;

namespace Mt.Site.Application.WorkFlows.Dto
{
    [AutoMapTo(typeof(WorkFlowCategeory))]
    public class CreateCategoryInput
    {
        [StringLength(WorkFlowCategeory.MaxNameLength)]
        [Required]
        public string Name { get; set; }

        public bool IsActive { get; set; }

        public int Order { get; set; }
    }
}
